REDIS_KEY_MAP = {'ImageCode': 'img_',
                 'SmsCode': 'sms_',
                 'History': 'history_',
                 }

BROKER_MAP = {
    'qq': {
        'app_id': '4009829214',
        'redirect': 'http://www.meiduo.site:8000/broker/weibo',
        'client_secret': 'a7a07cb78d18fe97522f0e39c266d11c',
        'url': 'https://api.weibo.com/oauth2/access_token?',
        "authorize":'https://api.weibo.com/oauth2/authorize',
    },
    'weibo': {
        'app_id': '4009829214',
        'redirect': 'http://www.meiduo.site:8000/broker/weibo',
        'client_secret': 'a7a07cb78d18fe97522f0e39c266d11c',
        'url': 'https://api.weibo.com/oauth2/access_token?',
        "authorize":'https://api.weibo.com/oauth2/authorize?',
    },
    'gitee': {
        'app_id': '755e9140481a1e1fbd4a5653183478afa8c91903a6120919cafe0a051c55ae23',
        'redirect': 'http://www.meiduo.site:8000/broker/gitee',
        'client_secret': 'd66b8d72bd7d7efe71460327b2a2b171184933ffe325171daf8d21b81bd0e879',
        'url': 'https://gitee.com/oauth/token?',
        "authorize":'https://gitee.com/oauth/authorize?response_type=code&',

    },
}


QINIU_DOMAIN = 'http://ruiyqpyjc.hb-bkt.clouddn.com/'
